<?php

declare(strict_types=1);

namespace App\Box\Model;

use Mine\MineModel;

/**
 * @property int $id ID
 * @property string $name 风格名称
 * @property string $color 颜色
 * @property string $img 箱子图片
 * @property string $halation_img 晕影图片
 * @property string $bg_img 背景图片
 * @property int $created_by 创建者
 * @property int $create_time 创建时间
 * @property int $update_time 更新时间
 */
class BoxProductProbability extends MineModel
{
    public bool $timestamps = false;
    /**
     * The table associated with the model.
     */
    protected ?string $table = 'box_product_probability';

    /**
     * The attributes that are mass assignable.
     */
    protected array $fillable = ['id', 'name', 'color', 'img', 'halation_img', 'bg_img', 'created_by', 'create_time', 'update_time'];

    /**
     * The attributes that should be cast to native types.
     */
    protected array $casts = ['id' => 'integer', 'created_by' => 'integer', 'create_time' => 'integer', 'update_time' => 'integer'];
}
